const permission_type = {
	"M":{
		name: "菜单",
		bgcolor: "rgba(255,185,185, 1)",
		color: "red",
		icon: "md-menu",
	},
	"P":{
		name: "页面",
		bgcolor: "rgba(160,213,242, 1)",
		color: "blue",
		icon: "ios-book",
	},
	"B":{
		name: "按钮",
		bgcolor: "rgba(152,242,171, 1)",
		color: "green",
		icon: "md-open",
	},
	"A":{
		name: "区域",
		bgcolor: "#FFCDA5",
		color: "orange",
		icon: "ios-appstore",
	},
	"D":{
		name: "详细",
		bgcolor: "#FFBCFF",
		color: "#FF17F5",
		icon: "ios-photos",
	},
};

export default {
	getPermissionTypeName: function(type) {
		return permission_type[type];
	}
}